home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.atlanta.com!not-for-mail
- From: curts@compgen.com (Curt Smith)
- Newsgroups: comp.lang.c,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.ultrix
- Subject: Re: File descriptor equivalent of fflush?
- Followup-To: comp.lang.c,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.ultrix
- Date: 30 Jan 1996 13:03:59 GMT
- Organization: Internet Atlanta
- Message-ID: <4el4vv$phb@nntp.atlanta.com>
- References: <DLxHsx.7Ko@un.seqeb.gov.au>
- NNTP-Posting-Host: gw1.compgen.com
- X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
-
- Anthony Lee (al012@svtstu.seqeb.gov.au) wrote:
- : Dear all,
- :
- : I am trying to find an equivalent of fflush for file descriptors
- : in ULTRIX and OSF.
-
- To my knowledge, the only mechanism available to a task that opened
- an fd without O_SYNC, to assure the last bunch of write()s are on
- disk is: fsync(fd). See man 2 fsync. Or sync() if all writes to
- a file system are to be written.
-
- Curt Smith
- curts@compgen.com
-
-